package com.seari.bean;

import java.io.Serializable;

public class DataTableKey implements Serializable{

    private Integer pid;
    private String tableName;
    private Integer redisAddress;

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public Integer getRedisAddress() {
        return redisAddress;
    }

    public void setRedisAddress(Integer redisAddress) {
        this.redisAddress = redisAddress;
    }

    @Override
    public String toString() {
        return "DataTableKey{" +
                "pid=" + pid +
                ", tableName='" + tableName + '\'' +
                ", redisAddress=" + redisAddress +
                '}';
    }
}
